package com.project.petLossSystem.po;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class PetPost {
    private Long postId;
    private Long userId;
    private Long petCategoryId;
    private Byte postType;
    private String postTitle;
    private String mainImageUrl;
    private String otherImageUrls;
    private Integer addressCategoryId;
    private String textContent;
    private Byte isDeleted;
    private Long views;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    public Long getViews() {
        return views;
    }

    public void setViews(Long views) {
        this.views = views;
    }

    public Integer getAddressCategoryId() {
        return addressCategoryId;
    }

    public void setAddressCategoryId(Integer addressCategoryId) {
        this.addressCategoryId = addressCategoryId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getPetCategoryId() {
        return petCategoryId;
    }

    public void setPetCategoryId(Long petCategoryId) {
        this.petCategoryId = petCategoryId;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Byte getPostType() {
        return postType;
    }

    public void setPostType(Byte postType) {
        this.postType = postType;
    }

    public String getPostTitle() {
        return postTitle;
    }

    public void setPostTitle(String postTitle) {
        this.postTitle = postTitle;
    }

    public String getMainImageUrl() {
        return mainImageUrl;
    }

    public void setMainImageUrl(String mainImageUrl) {
        this.mainImageUrl = mainImageUrl;
    }

    public String getOtherImageUrls() {
        return otherImageUrls;
    }

    public void setOtherImageUrls(String otherImageUrls) {
        this.otherImageUrls = otherImageUrls;
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public Byte getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Byte isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
